package xyz.chaobei.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户管理实体类
 *
 * @author mrc
 * @Date ${Date}
 */
@Data
@TableName("org_user" )
public class OrgUserEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户表
     */
    @TableId(value = "id_" , type = IdType.AUTO)
    private Integer id;

    /**
     * 用户名称
     */
    @TableField("name_" )
    private String name;

    /**
     * 账号
     */
    @TableField("username_" )
    private String username;

    /**
     * 密码
     */
    @TableField("password_" )
    private String password;

    /**
     * 密码加盐
     */
    @TableField("salt_" )
    private String salt;
}